home *** CD-ROM | disk | FTP | other *** search
/ iBrowse Update Disc / iBrowse Update Disc.iso / distrib / man / Manuals / Omniclient / 4_TCPintro < prev    next >
Text File  |  1998-02-04  |  11KB  |  235 lines

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
  4. <TITLE>Introduction to TCP/IP</TITLE>
  5.  
  6. <META NAME="GENERATOR" CONTENT="Internet Assistant for Microsoft Word 2.04z">
  7. </HEAD>
  8. <BODY BGCOLOR="#FFFFFF">
  9. <P>
  10. <A HREF="3_BootNet"><IMG SRC="pics/PREV.GIF" HEIGHT="28" WIDTH="96" BORDER="0"></A>
  11. <A HREF="Front"><IMG SRC="pics/FRONT.GIF" HEIGHT="28" WIDTH="96" BORDER="0"></A>
  12. <A HREF="TOC"><IMG SRC="pics/CONTS.GIF" HEIGHT="28" WIDTH="96" BORDER="0"></A>
  13. <A HREF="index"><IMG SRC="pics/INDEX.GIF" HEIGHT="28" WIDTH="96" BORDER="0"></A>
  14. <A HREF="5_Internet"><IMG SRC="pics/NEXT.GIF" HEIGHT="28" WIDTH="96" BORDER="0"></A>
  15. <P>
  16. <H1>4 Introduction to TCP/IP</H1>
  17. <HR>
  18. <P>
  19. OmniClient enables you to connect Acorn RISC OS computers to a
  20. TCP/IP network, and to access computers on that network in a variety
  21. of ways. 
  22. <P>
  23. You can use Internet and OmniClient NFS functionality to connect
  24. RISC OS computers directly to an existing <A NAME="Ether">Ether</A>net-based
  25. TCP/IP network. To do so, your RISC OS computers will need to
  26. have an Acorn Ethernet interface fitted.
  27. <H3>Finding out more</H3>
  28. <P>
  29. For general information on the use of a RISC OS computer and its
  30. desktop interface, see the Welcome Guide and RISC OS 3 User Guide
  31. supplied with it.
  32. <P>
  33. For details of how to use the TCP/IP Protocol Suite (Release 2),
  34. see the TCP/IP Protocol Suite (Release 2) User Guide.
  35. <P>
  36. For details of how to use the programming interfaces provided
  37. by the TCP/IP Protocol Suite (Release 2), see the TCP/IP Protocol
  38. Suite (Release 2) Programmer's Guide, available separately from
  39. Acorn Developer Support and on the Acorn ftp site (although unsupported).
  40. This includes a disc of useful C libraries.
  41. <P>
  42. You should also see any relevant documentation supplied with other
  43. computers you plan to be on your TCP/IP network.
  44. <P>
  45. Finally, you can get more detailed information from Internetworking
  46. with TCP/IP. Douglas Comer (1988) Prentice-Hall, Englewood Cliffs,
  47. NJ, USA.
  48. <H2><A NAME="TCP">TCP</A>/IP concepts</H2>
  49. <P>
  50. When you install OmniClient, you will have to assign certain names
  51. and numbers to the computers on your TCP/IP network, and to their
  52. network interfaces. This section explains those names and numbers.
  53. <H4>If you've already got a TCP/IP network running…</H4>
  54. <P>
  55. If you've already got a TCP/IP network running on your site, you
  56. should already have naming and numbering schemes set up. Make
  57. sure that any names and numbers you assign conform to this scheme,
  58. and that you first contact the person who administrates their
  59. allocation. 
  60. <H3><A NAME="Host">Host</A> names</H3>
  61. <P>
  62. Each computer on your network must have a principal host name,
  63. or host name for short. Your users will use this name to refer
  64. to the computer. The name must be unique on your site - you can't
  65. have two computers with the same name.
  66. <P>
  67. It helps your users if each host name is easy for them to remember.
  68. One way to do this is to use a theme, such as planets (e.g. saturn,
  69. uranus); another way is to give names that have some relationship
  70. to the computer's function on your network (eg accounts1, accounts2).
  71. You can combine these ideas - so you might name the graphics department's
  72. computers after famous artists (eg turner, vangogh).
  73. <H3>Interface names</H3>
  74. <P>
  75. Each network interface in each computer - whether it be an Ethernet
  76. or <A NAME="Econet">Econet</A> interface - must also have an interface
  77. name. Again, this name must be unique on your site - you can't
  78. have two interfaces with the same name.
  79. <P>
  80. If there's only a single interface in a computer it's normal to
  81. use just the principal host name as the interface name. If there
  82. are two interfaces in a name it's normal to refer to the principal
  83. host name in each interface name: so a machine named <TT><FONT FACE="Courier">saturn</FONT></TT> 
  84. may have interfaces named <TT><FONT FACE="Courier">saturn_eco
  85. </FONT></TT> and <TT><FONT FACE="Courier">saturn_ether</FONT></TT> .
  86. <H3>Internet <A NAME="addr">addr</A>esses, <A NAME="netmask">netmask</A>s
  87. and subnets</H3>
  88. <P>
  89. Furthermore, each interface must also have a unique numerical
  90. address, known as its Internet address. It is this address that
  91. the TCP/IP protocol uses to communicate; if a user specifies a
  92. host name or interface name, the software automatically converts
  93. it to an Internet address.
  94. <P>
  95. An Internet address is four bytes long. These four bytes are split
  96. into fields:<BR>
  97. <P>
  98. <TABLE BORDER=1>
  99. <TR><TD ALIGN="CENTER" VALIGN="TOP" WIDTH=149><CENTER><I><B>network address</B></I></CENTER>
  100. </TD><TD ALIGN="CENTER" VALIGN="TOP" WIDTH=208><CENTER><I><B>subnet address </B></I><B>(optional)</B></CENTER>
  101. </TD><TD ALIGN="CENTER" VALIGN="TOP" WIDTH=234><CENTER><I><B>host address</B></I></CENTER>
  102. </TD></TR>
  103. </TABLE>
  104. <P>
  105. The network address identifies an entire network (which is typically
  106. a whole site). The subnet address is optional, and identifies
  107. a local network that forms part of the main network. The host
  108. address identifies a host on that network.
  109. <P>
  110. A netmask specifies the portion of the address used by the network
  111. and subnet addresses. For example, if the network address is held
  112. in the top byte, and no subnets are used, the netmask would be
  113. 0xFF000000 (i.e. FF000000 hexadecimal) or 255.0.0.0 decimal.
  114. <P>
  115. Unlike the interface name, the Internet address must be unique
  116. on all networks with which the interface will ever communicate.
  117. <H4>If you plan to <A NAME="plan">connect to other sites…</A>
  118. </H4>
  119. <P>
  120. If you plan to connect to other sites over the Internet, you need
  121. to ensure not only that Internet addresses are unique to your
  122. site, but also that they are unique to the entire Internet. The
  123. Internet already connects together thousands of sites, each with
  124. many hosts. Clearly it's impossible to keep so many Internet addresses
  125. unique on an informal basis. Consequently there is an administrative
  126. body responsible for allocating network addresses. You must contact
  127. them before you use the Internet to connect to other sites; write
  128. or send email to:
  129. <P>
  130. <A NAME="DDN">DDN</A> Network Information Center<BR>
  131. SRI International<BR>
  132. Room EJ217<BR>
  133. 333 Ravenswood Avenue<BR>
  134. Menlo Park, CA94025<BR>
  135. USA 
  136. <P>
  137. email: <TT><FONT FACE="Courier">HOSTMASTER@SRI-NIC.ARPA</FONT></TT> 
  138. <P>
  139. Depending on the size of your network, you will be allocated a
  140. <A NAME="Class">Class</A> A, B or C address: these use respectively
  141. the top one, two or three bytes for the network address. It is
  142. your responsibility how you use the remaining unallocated bytes
  143. to specify subnets and hosts. For example, let's say you`ve been
  144. allocated a Class B network address, and so have two bytes free
  145. for your own use:
  146. <UL>
  147. <LI>If all your site's computers are connected to a single local
  148. network, you won't need to use subnets, and so might use all two
  149. bytes for the host address (allowing 64k hosts). In this case,
  150. you'd use a netmask of 0xFFFF0000.
  151. </UL>
  152. <P>
  153. Note that an Ethernet generally behaves as a single network, even
  154. if it is made up of multiple segments of cable (unless divided
  155. by routers).
  156. <UL>
  157. <LI>However, if your site's computers are connected to different
  158. local networks (such an Ethernet and some Econets) you'll need
  159. to use subnets. You might decide to use 5 bits for the subnet
  160. address (allowing 32 subnets), and the remaining 11 bits for the
  161. host address (allowing 2000 hosts). In this case, you'd therefore
  162. use a netmask of 0xFFFFF800.
  163. </UL>
  164. <P>
  165. Note that separate Econets (i.e. those not connected together
  166. by Econet bridges) form separate subnets.
  167. <H4>If you don't plan to connect to other sites...</H4>
  168. <P>
  169. If you don't plan to connect to other sites over the Internet,
  170. all you need to do is to ensure that the interface's Internet
  171. address is unique on your own site. We suggest you use the following
  172. scheme:
  173. <P>
  174. Figure 4.2 Suggested local TCP/IP numbering scheme
  175. <P>
  176. Number your local networks from ten: for example, you might number
  177. your Ethernet as net 10, and an Econet as net 20. Likewise, number
  178. your hosts (not your interfaces) from 10. Your available Internet
  179. address and their meanings would be as follows:
  180. <P>
  181. <TABLE BORDER="1">
  182. <TR><TD WIDTH=95><B>Ethernet</B></TD><TD WIDTH=161><B>Meaning</B>
  183. </TD><TD WIDTH=113><B>Econet</B></TD><TD WIDTH=170><B>Meaning</B>
  184. </TD></TR>
  185. <TR><TD WIDTH=95>10.0.0.1</TD><TD WIDTH=161>host 1 on Ethernet
  186. </TD><TD WIDTH=113>20.0.0.1</TD><TD WIDTH=170>host 1 on Econet
  187. </TD></TR>
  188. <TR><TD WIDTH=95>10.0.0.2</TD><TD WIDTH=161>host 2 on Ethernet
  189. </TD><TD WIDTH=113>20.0.0.2</TD><TD WIDTH=170>host 2 on Econet
  190. </TD></TR>
  191. <TR><TD WIDTH=95>10.0.0.3</TD><TD WIDTH=161>host 3 on Ethernet
  192. </TD><TD WIDTH=113>20.0.0.3</TD><TD WIDTH=170>and so on up to...
  193. </TD></TR>
  194. <TR><TD WIDTH=95>10.0.0.255</TD><TD WIDTH=161>host 255 on Ethernet
  195. </TD><TD WIDTH=113>20.0.0.255</TD><TD WIDTH=170>host 255 on Econet
  196. </TD></TR>
  197. <TR><TD WIDTH=95>10.0.1.0</TD><TD WIDTH=161>host 256 on Ethernet
  198. </TD><TD WIDTH=113>20.0.1.0</TD><TD WIDTH=170>host 256 on Econet
  199. </TD></TR>
  200. <TR><TD WIDTH=95>10.0.1.1</TD><TD WIDTH=161>host 257 on Ethernet
  201. </TD><TD WIDTH=113>20.0.1.1</TD><TD WIDTH=170>and so on...</TD>
  202. </TR>
  203. </TABLE>
  204. <P>
  205. Of course if a machine has only got one interface fitted, you'll
  206. only use one of the addresses assigned to it; one of the addresses
  207. will be wasted. But if you later upgrade the machine to add a
  208. second interface, you already have a meaningful Internet address
  209. reserved for it.
  210. <H3>Physical Addresses</H3>
  211. <P>
  212. Each interface also has a six byte physical address (alternatively
  213. known as its MAC address). You shouldn't need to do anything to
  214. set this up, because
  215. <UL>
  216. <LI>an Ethernet interface's physical address is unique worldwide,
  217. and is set in the hardware at the time of manufacture.
  218. <LI>an Econet interface's physical address is based on its network
  219. and station numbers. So long as you've correctly installed the
  220. Econet, these should be unique to your site.
  221. </UL>
  222. <H2>Further Information</H2>
  223. <P>
  224. If you require any further information, please contact Acorn Customer
  225. Services' ftp site to obtain Application Note 283.
  226. <P>
  227. <A HREF="3_BootNet"><IMG SRC="pics/PREV.GIF" HEIGHT="28" WIDTH="96" BORDER="0"></A>
  228. <A HREF="Front"><IMG SRC="pics/FRONT.GIF" HEIGHT="28" WIDTH="96" BORDER="0"></A>
  229. <A HREF="TOC"><IMG SRC="pics/CONTS.GIF" HEIGHT="28" WIDTH="96" BORDER="0"></A>
  230. <A HREF="index"><IMG SRC="pics/INDEX.GIF" HEIGHT="28" WIDTH="96" BORDER="0"></A>
  231. <A HREF="5_Internet"><IMG SRC="pics/NEXT.GIF" HEIGHT="28" WIDTH="96" BORDER="0"></A>
  232. <P>
  233. </BODY>
  234. </HTML>
  235.